<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>校园宿舍管理系统</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="styles.css">
  </head>
	<%-- 隐藏注释--%>
	<!-- 非隐藏 -->
  <body>
		<center>
			<table width="900" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="60" align="center" bgcolor="#E6F5FF"
						style="color: #06F; font-size: 22px; font-weight: bolder; padding-left: 50px;">
						校园宿舍管理系统
					</td>
				</tr>
				<tr>
					<td height="30" background="Images/MenuBg.jpg">
						&nbsp;
					</td>
				</tr>
				<tr>
					<td height="500" align="center" valign="top">
						<table width="900" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="191" height="500" align="center" valign="top"
									background="Images/leftbg.jpg">
									<%@ include file="Left.jsp"%>
								</td>
								<td width="709" align="center" valign="top" bgcolor="#F6F9FE">
									<table width="709" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td height="30" background="Images/mainMenuBg.jpg"
												style="padding-left: 25px;">
												学生缺寝记录
											</td>
										</tr>
										<tr>
											<td height="470" align="center" valign="top"
												bgcolor="#F6F9FE">
												<form name="form1" method="post"
													action="AdminLogList.action" onSubmit="return mycheck()">
													<table width="100%" border="0" cellspacing="0"
														cellpadding="0">
														<tr>
															<td width="33%" height="30" align="right">
																&nbsp;
															</td>
															<td width="67%">
																&nbsp;
															</td>
														</tr>
														<tr>
															<td height="30" align="right">
																楼宇：
															</td>
															<td>
																<select name="Building_ID" id="Building_ID"
																	onChange="javascript:window.location='AdminLog.action?BuildingID='+this.value;">
																	<option value="">
																		请选择
																	</option>
																	<s:iterator value="buildinglist">
																		<option value="${Building_ID}"
																			<s:if test="BuildingID==Building_ID">selected</s:if>>
																			${Building_Name}
																		</option>
																	</s:iterator>
																</select>
															</td>
														</tr>
														<tr>
															<td height="30" align="right">
																寝室：
															</td>
															<td>
																<select name="Domitory_ID" id="Domitory_ID">
																	<option value="">
																		请选择
																	</option>
																	<s:iterator value="domitorylist">
																		<option value="${Domitory_ID}">
																			${Domitory_Name}
																		</option>
																	</s:iterator>
																</select>
															</td>
														</tr>
														<tr>
															<td height="30" align="right">
																学生学号：
															</td>
															<td>
																<label for="Student_ID"></label>
																<input type="text" name="Student_Username"
																	id="Student_Username">
															</td>
														</tr>
														<tr>
															<td height="30">
																&nbsp;
															</td>
															<td>
																<input type="submit" name="button" id="button"
																	value="开始查询">
															</td>
														</tr>
													</table>
												</form>
											</td>
										</tr>
									</table>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</center>

	</body>
</html>
